class Mx {
  public readonly myField1 = 'hello';

  public readonly myField2 = ['a', 'b'];

  public readonly ['myField3'] = 'hello world';

  public get myField4() {
    return `hello ${this.myField1}`;
  }
}

export { Mx };

class Mx {
  declare readonly p1 = 1;
}

class Mx {
  static p1 = 'hello world';
}

class Mx {
  get mySetting() {
    if (this._aValue) {
      return 'on';
    }

    return 'off';
  }
}

let p1 = 'p1';
class Mx {
  set [/* before set */ p1 /* after set */](val) {}
  get [/* before get */ p1 /* after get */]() {
    return '';
  }
}